package com.miaosha.ms_01.result;

/**
 * @author hezhaoxiang
 * @deprecated  //系统相关 枚举类
 * @date 10:12 2020/9/13
 **/
public enum ResultEnum {

    RESULT_ERR_500(500, "服务端系统异常"),
    RESULT_SUCCESS(200, "操作成功");

    private int code;

    private String msg;

    ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
